import Vue from 'vue'
import Vuex, { Store } from 'vuex'
import axios from 'axios'

Vue.use(Vuex)
export default new Store({
  state: {
    company_name:'',
    driverId:'',
    truckId:'',
    orderId:'',
    lookType:''
  },
  mutations: {
    setCompanyName(state,name){
      state.company_name=name
    },
    setDriverId(state,id){
      state.driverId=id
    },
    setTrucksId(state,id){
      state.truckId=id
    },
    setOrdersId(state,id){
      state.orderId=id
    },
    lookType(state,type){
      state.lookType=type
    },
  },
  actions: {
    
  }
})
